package cn.gok.work.day2;

public class Test {
    public static void main(String[] args) {
        Work work=new Work("NAME","JOB",100);
        System.out.println(work.doJob(2));
        SuperWorker superWorker=new SuperWorker("NAME","JOB",100,0.5f);
        System.out.println(superWorker.doJob(2));
        System.out.println(superWorker.doJob(2,10));
    }
}
